package org.example.Dao;

import org.example.pojo.User;

import java.util.Set;

/**
 * @author LiYa
 * @version 1.0
 * @className UserDao
 * description TODO
 * @since 2020/9/14 14:59
 */
public interface UserDao {
    Set<User> queryAll();
    int deleteById(int userId);
    int insertByUser(User user);
    int deleteByUser(int userId);
    int updateByUser(User user);
}
